package com.icinfo.cloud.provider.punish.simple.transfer.model;

import lombok.Data;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 公安委托执法无牌无照移交信息
 */
@Data
@Table(name = "upcase.case_simple_transfer_record")
public class CaseSimpleTransferRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @Column(name = "id", nullable = false)
    private String id;

    /**
     * 事项名称
     */
    @Column(name = "item_name")
    private String itemName;

    /**
     * 事项代码
     */
    @Column(name = "item_code")
    private String itemCode;

    /**
     * 是否无牌  （1-是 0-否）
     */
    @Column(name = "has_license_plate")
    private String hasLicensePlate;

    /**
     * 是否无证 （1-是 0-否）
     */
    @Column(name = "has_driving_licence")
    private String hasDrivingLicence;

    /**
     * 当事人
     */
    @Column(name = "party_name")
    private String partyName;

    /**
     * 当事人类型(1个人，2法人)
     */
    @Column(name = "party_type")
    private String partyType;

    /**
     * 统一社会信用代码
     */
    @Column(name = "uniscid")
    private String uniscid;

    /**
     * 法人名称
     */
    @Column(name = "legal_name")
    private String legalName;

    /**
     * 个人/法人证件类型
     */
    @Column(name = "cert_type")
    private String certType;

    /**
     * 个人/法人证件号码
     */
    @Column(name = "cert_code")
    private String certCode;

    /**
     * 当事人/单位住址
     */
    @Column(name = "address")
    private String address;

    /**
     * 联系电话
     */
    @Column(name = "mobile")
    private String mobile;

    /**
     * 性别
     */
    @Column(name = "sex")
    private String sex;

    /**
     * 年龄
     */
    @Column(name = "age")
    private String age;

    /**
     * 工作单位
     */
    @Column(name = "work_unit")
    private String workUnit;

    /**
     * 单位类型(1:法人 2:个体工商户 3:其他组织)--当事人法人
     */
    @Column(name = "ent_type")
    private String entType;

    /**
     * 职务
     */
    @Column(name = "job")
    private String job;

    /**
     * 经营地址
     */
    @Column(name = "business_address")
    private String businessAddress;

    /**
     * 委托单位编码
     */
    @Column(name = "entrust_org_code")
    private String entrustOrgCode;

    /**
     * 委托单位部门编码
     */
    @Column(name = "entrust_dept_code")
    private String entrustDeptCode;

    /**
     * 办案单位的行政区划代码
     */
    @Column(name = "handle_area_code")
    private String handleAreaCode;

    /**
     * 办案单位编码
     */
    @Column(name = "handle_org_code")
    private String handleOrgCode;

    /**
     * 办案部门编码
     */
    @Column(name = "handle_dept_code")
    private String handleDeptCode;

    /**
     * 主办人
     */
    @Column(name = "main_handle_person")
    private String mainHandlePerson;

    /**
     * 主办人id
     */
    @Column(name = "main_handle_person_id")
    private String mainHandlePersonId;

    /**
     * 协办人
     */
    @Column(name = "assist_handle_person")
    private String assistHandlePerson;

    /**
     * 协办人id
     */
    @Column(name = "assist_handle_person_id")
    private String assistHandlePersonId;

    /**
     * 移交备注
     */
    @Column(name = "transfer_remark")
    private String transferRemark;

    /**
     * 案发地
     */
    @Column(name = "happen_address")
    private String happenAddress;

    /**
     * 案发时间
     */
    @Column(name = "happen_time")
    private Date happenTime;

    /**
     * 反应内容
     */
    @Column(name = "case_reaction_content")
    private String caseReactionContent;

    /**
     * 案件备注信息
     */
    @Column(name = "case_remark")
    private String caseRemark;

    /**
     * 取证照片
     */
    @Column(name = "evidence_url")
    private String evidenceUrl;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 创建人
     */
    @Column(name = "create_user")
    private String createUser;

}
